package com.example.lxy.service.impl;

import com.example.lxy.mapper.AmmeterMapper;
import com.example.lxy.pojo.ammeter;
import com.example.lxy.service.AmmeterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AmmeterServiceImpl implements AmmeterService {

    @Autowired
    private AmmeterMapper ammeterMapper;
    @Override
    public List<ammeter> list() {
        return ammeterMapper.list();
    }
}
